package cn.dbqn.service;

import cn.dbqn.dao.FodderMapper;
import cn.dbqn.entity.Fodder;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FodderService {
    @Autowired
    FodderMapper fodderMapper;
    public List<Fodder> findAllxx(){
        return fodderMapper.findAll();
    }
    public List<Fodder> findAllkc(){
        return fodderMapper.findAllnum();
    }

    public Fodder slxx(Integer fno){
        return fodderMapper.slxx(fno);
    }
}
